<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="es" xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:body>
	<h:form>
		<ui:composition template="template.xhtml">
			<ui:define name="content">
				<h2>
					<h:outputText id="result"
						value="#{userNumberBean.mensajeComparacion}"></h:outputText>
					<br></br>El número es
					<h:outputText id="numeroAleatorio"
						value="#{userNumberBean.numeroAleatorio}"></h:outputText>
					y has introducido
					<h:outputText id="numeroUsuario"
						value="#{userNumberBean.numeroUsuario}"></h:outputText>
				</h2>
				<h:commandButton id="back" action="greeting" value="Volver"></h:commandButton>
			</ui:define>
		</ui:composition>
	</h:form>
</h:body>
</html>